package com.yunxi.yunxicaiproject.Controller;


import com.yunxi.yunxicaiproject.entity.po.AiStudent;
import com.yunxi.yunxicaiproject.mapper.AiStudentMapper;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TestController {

    @Resource
    AiStudentMapper studentMapper;

    @GetMapping("/get")
    public String getIdea(){
        AiStudent student = studentMapper.selectById("S20230001");
        return student.toString();
    }
}
